<template>
  <div class="underList">
    <span class="underSpan">猜你喜欢</span>
    <ul class="list">
      <router-link :to="{name: 'utils', params:{proid:item.proid}}" tag='li' v-for='(item, index) of underList' :key='index' >
        <div class="img">
          <img :src="item.proimg" alt="">
        </div>
        <div class="proname">
          {{ item.title }}
        </div>
        <div class="price">
          <div>
            <div class="left">{{ '￥' + item.price }}</div>
            <div class="right">优惠卷</div>
          </div>
          <div></div>
        </div>
      </router-link>
    </ul>
    </div>
</template>

<script>
// import axios from 'axios'
export default {
  props: ['underList']
}
</script>
